| AppleScript in OmniGraffle | |||||||||||
| AppleScript is an English-like language which can control the actions of the computer and the applications which run on it; scripts can make decisions based on user-interaction or by parsing and analyzing data, documents or situations. AppleScript scripts can speed your work, make actions on your computer more productive and save you time and money. OmniGraffle 2.0 includes a number of benefits for AppleScript users. Scripts can now control many aspects of OmniGraffle's functionality, and they can be integrated into the application several ways. The Scripts Menu If you have an AppleScript for controlling OmniGraffle that you find yourself using often, you can add it to the Scripts menu for easy access each item in the menu is a script, and selecting a script from the menu runs it. To add an script to the menu, save it in one of the following folders:
Scripts on the Toolbar For even more convenient access, scripts can be added to the document window's toolbar. Any script that's been added to the Scripts menu (see above) will also be available as a toolbar item when you choose Customize Toolbar... from the Tools menu. Once a script is on the toolbar, you can click the icon to run it. (If you paste custom icons on your scripts in the Finder, they'll show up with those icons on the toolbar, so you can make it easy to tell your scripts apart.) Scripts in Documents AppleScript can even be used to create interactive documents: scripts can even be attached to graphics in a document using the Action pane of the Info window, and run by clicking on graphics in Browse mode.
|
|||||||||||